import _ from 'lodash';
import printMe from './print.js';

function addContent() {
    var ele = document.createElement('div')
    var btn = document.createElement('btn');

    ele.innerHTML = _.join(['Hello', 'webpack'], ' ');
    btn.innerHTML = 'Click me and check the console';

    btn.onclick = printMe;

    ele.appendChild(btn);

    return ele;
}
document.body.appendChild(addContent());